﻿using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfControlLibrary.GridItems;

namespace WpfAppTest
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            this.Loaded += MainWindow_Loaded;

            this.ResizeMode = ResizeMode.CanResize;
        }

        

        private void MainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            WpfControlLibrary.GridItems.GridItemsClass data = new WpfControlLibrary.GridItems.GridItemsClass();
            data.TestData();
            GridItmes.DataSource = data.gridItems;

            MM.Count = 60;
            MM.HightTotal = 200;
            MM.WidthTotal = 1200;
            MM.ItemHigh = 30;
            MM.IsAutoMove = true;


        }
    }
}